# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: robertfoster

pkgname=distrobox
pkgver=1.4.2.1
pkgrel=3
pkgdesc="Use any linux distribution inside your terminal."
arch=('any')
url="https://distrobox.privatedns.org"
license=('GPL3')
optdepends=('docker: Docker support'
	    'podman: Podman support')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/89luca89/distrobox/archive/${pkgver}.tar.gz")
sha256sums=('cbe9217315f848396ec1eb8e21929d23065caa6a1a55f8988500475e823b1f31')

package() {
	cd "${pkgname}-${pkgver}"
	./install -P "${pkgdir}/usr"

	find docs -name "*.md" -exec install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" {} +
}
